package models

import (
	"gorm.io/gorm"
)

type Movies struct {
	gorm.Model
	User       User   `gorm:"foreignKey:UserId"`
	UserId     int    `gorm:"type:int"`
	Title      string `gorm:"type:varchar(130)"`
	Content    string `gorm:"type:varchar(130)"`
	Like       int    `gorm:"type:int"`
	Collection int    `gorm:"type:int"`
}
